﻿@using Orchard.Utility.Extensions;
@using Orchard.Media.Helpers;
@using Contrib.BSCarouselSlide.Models;
@using Orchard.ContentManagement;

@{
    string altxt = (Model.ContentField.AlternateText == null) ? string.Empty : Model.ContentField.AlternateText; 
    if (Html.IsPicture((string)Model.ContentField.Url))
    {<img src="@Href(Model.ContentField.Url)"  style="width: 100px; height: auto;" alt="@T(altxt)" />}
}
